FROM registry.openanolis.cn/openanolis/cuda:12.1.1-23-runtime

LABEL \
    maintainer="OpenAnolis AI SIG" \
    org.opencontainers.image.title="cuda" \
    org.opencontainers.image.version="12.1.1-23-devel"

RUN dnf install cuda-cuobjdump-12-1 cuda-compiler-12-1 \
                cuda-command-line-tools-12-1 cuda-nsight-compute-12-1 -y
RUN dnf install cuda-nvml-devel-12-1 cuda-libraries-devel-12-1 libnccl-devel -y

CMD ["/bin/bash"]
